<?xml version="1.0" ?>
<xs:schema id="listtemplates" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="listtemplates">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="listtemplate" type="listtemplate" minOccurs="0" maxOccurs="unbounded" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="fields">
		<xs:sequence maxOccurs="unbounded">
			<xs:element name="field" type="field" minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="field">
		<xs:sequence maxOccurs="unbounded">
			<xs:element name="name" type="xs:string" />
			<xs:element name="displayname" type="xs:string" />
			<xs:element name="extended-type" type="xs:string" />
			<xs:element name="required" type="xs:string" minOccurs="0" />
			<xs:element name="addtodefaultview" type="xs:string" minOccurs="0" />
			<xs:element name="richtext" type="xs:string" minOccurs="0" />
			<xs:element name="groupby" type="xs:string" minOccurs="0" />
			<xs:element name="propertyvalues" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
			<xs:element name="schemaXML" type="xs:string" minOccurs="0" />
      <xs:element name="hidden" type="xs:string" minOccurs="0" />
      <xs:element name="id" type="xs:string" minOccurs="0" />
    </xs:sequence>
	</xs:complexType>
	<xs:complexType name="listtemplate">
		<xs:sequence>
			<xs:element name="name" type="xs:string" />
			<xs:element name="Title" type="xs:string" />
			<xs:element name="BaseType" type="xs:string" minOccurs="0" />
			<xs:element name="Description" type="xs:string" />
			<xs:element name="enableattachments" type="xs:string" minOccurs="0" />
			<xs:element name="enableversioning" type="xs:string" minOccurs="0" />
			<xs:element name="fields" type="fields" minOccurs="0" maxOccurs="1" />
			<xs:element name="views" type="views" minOccurs="0" maxOccurs="1" />
			<xs:element name="propertyBag" type="xs:string" minOccurs="0" />
      <xs:element name="ID" type="xs:string" minOccurs="0" />
    </xs:sequence>
		<xs:attribute name="name" form="unqualified" type="xs:string" />
	</xs:complexType>
		<xs:complexType name="views">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			<xs:element name="view" type="view" minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="view">
		<xs:sequence maxOccurs="unbounded">
			<xs:element name="name" type="xs:string" minOccurs="0" />
			<xs:element name="defaultview" type="xs:string" minOccurs="0" />
			<xs:element name="hidden" type="xs:string" minOccurs="0" />
			<xs:element name="query" type="xs:string" minOccurs="0" />
			<xs:element name="viewfields" minOccurs="0" maxOccurs="unbounded">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
      <xs:element name="type" type="xs:string" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>
	
</xs:schema>